package com.shell.arouter.demo.layoutmanager

import android.content.Context
import android.view.View
import com.alibaba.android.arouter.facade.annotation.Route
import com.durian.base.frame.viewbinding.viewBindings
import com.henanjianye.soon.communityo2o2.databinding.FragmentLayoutmanagerBinding
import com.shell.arouter.extend.PATH_FRAGMENT_LAYOUTMANAGER
import com.shell.arouter.ui.FragmentCommon

@Route(path = PATH_FRAGMENT_LAYOUTMANAGER)
class FragmentLayoutManager : FragmentCommon(){

    private val viewBinding by viewBindings<FragmentLayoutmanagerBinding>()

    override fun bindRootView(context: Context?): View {
        return viewBinding.root
    }

    override fun isShowTitleBar(): Boolean {
        return true
    }

    override fun isShowTitleBarBack(): Boolean {
        return true
    }

    override fun bindTitleBarText(): String? {
        return "自定义LayoutManager"
    }
}